package com.zahb.qadx.ui.activity;

import android.os.Bundle;
import android.widget.ImageView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.zahb.qadx.R;
import com.zahb.qadx.util.ImageLoaderKt;


public class ImagePreviewActivity extends AppCompatActivity {


    ImageView iv;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_preview);

        String url = getIntent().getStringExtra("url");
        iv = findViewById(R.id.iv);
        ImageLoaderKt.loadImage(iv, url);


    }
}
